<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
         <title>买家中心 - <?php echo ($CONF['mallTitle']); ?></title>
         <link rel="shortcut icon" href="favicon.ico"/>
         <meta name="keywords" content="<?php echo ($CONF['mallKeywords']); ?>" />
      	 <meta name="description" content="<?php echo ($CONF['mallDesc']); ?>,买家中心" />
         <meta http-equiv="Expires" content="0">
		 <meta http-equiv="Pragma" content="no-cache">
		 <meta http-equiv="Cache-control" content="no-cache">
		 <meta http-equiv="Cache" content="no-cache">
		 <meta http-equiv="X-UA-Compatible" content="IE=edge">
      	<meta name="viewport" content="width=device-width, initial-scale=1">
         <link rel="stylesheet" href="/wstshop/Apps/Home/View/default/css/common.css" />
         <link rel="stylesheet" href="/wstshop/Apps/Home/View/default/css/user.css">
         <link rel="stylesheet" type="text/css" href="/wstshop/Public/plugins/webuploader/webuploader.css" />
    </head>
	<?php echo WSTLoginTarget(0);?>
    <body>
        <div class="wst-wrap">
          <div class='wst-header'>
          <script src="/wstshop/Public/js/jquery-1.9.1.min.js"></script>
<script src="/wstshop/Public/plugins/lazyload/jquery.lazyload.min.js?v=1.9.1"></script>
<script src="/wstshop/Public/plugins/layer/layer.min.js"></script>
<script type="text/javascript">
var WST = ThinkPHP = window.Think = {
        "ROOT"   : "/wstshop",
        "APP"    : "/wstshop",
        "PUBLIC" : "/wstshop/Public",
        "DEEP"   : "<?php echo C('URL_PATHINFO_DEPR');?>",
        "MODEL"  : ["<?php echo C('URL_MODEL');?>", "<?php echo C('URL_CASE_INSENSITIVE');?>", "<?php echo C('URL_HTML_SUFFIX');?>"],
        "VAR"    : ["<?php echo C('VAR_MODULE');?>", "<?php echo C('VAR_CONTROLLER');?>", "<?php echo C('VAR_ACTION');?>"],
        "DOMAIN" : "<?php echo WSTDomain();?>",
        "CITY_ID" : "<?php echo ($currArea['areaId']); ?>",
        "CITY_NAME" : "<?php echo ($currArea['areaName']); ?>",
        "DEFAULT_IMG": "<?php echo WSTDomain();?>/<?php echo ($CONF['goodsImg']); ?>",
        "MALL_NAME" : "<?php echo ($CONF['mallName']); ?>",
        "SMS_VERFY"  : "<?php echo ($CONF['smsVerfy']); ?>",
        "PHONE_VERFY"  : "<?php echo ($CONF['phoneVerfy']); ?>",
        "IS_LOGIN" :"<?php echo ($WST_IS_LOGIN); ?>"
}
    $(function() {
    	$('.lazyImg').lazyload({ effect: "fadeIn",failurelimit : 10,threshold: 200,placeholder:WST.DEFAULT_IMG});
    });
</script>
<script src="/wstshop/Public/js/think.js"></script>
<div id="wst-shortcut">
	<div class="w">
		<ul class="fl lh" style='float:left;width:700px;'>
			
			<!--<li class="fore4" id="biz-service" data-widget="dropdown" style='padding:0;'>-->
				<!--所在城市-->
				<!--【<span class='wst-city'>&nbsp;<?php echo ($currArea["areaName"]); ?>&nbsp;</span>】-->
				<!--<img src="/wstshop/Apps/Home/View/default/images/icon_top_03.png"/>	-->
				<!--&nbsp;&nbsp;<a href="javascript:;" onclick="toChangeCity();">切换城市</a><div class="wst-downicon">&nbsp;▼</div>-->
			<!--</li>-->
		</ul>
	
		<ul class="fr lh" style='float:right;'>
			<li class="fore1" id="loginbar"><a href="<?php echo U('Home/Orders/queryByPage');?>"><span style='color:blue'><?php echo ($WST_USER['userName']?$WST_USER['userName']:$WST_USER['loginName']); ?></span></a> 欢迎您来到<!-- <a href='<?php echo WSTDomain();?>'>--><?php echo ($CONF['mallName']); ?><!--</a>-->！<s></s>&nbsp;
			<span>
				<?php if(!$WST_USER['userId']): ?><a href="<?php echo U('Home/Shops/login');?>">[登录]</a>
				<!--<a href="<?php echo U('Home/Users/regist');?>"	class="link-regist">[免费注册]</a>--><?php endif; ?>
				<?php if($WST_USER['userId'] > 0): ?><a href="javascript:logout();">[退出]</a><?php endif; ?>
			</span>
			</li>
			<li class="fore2 ld"><s></s>
			<?php if(session('WST_USER.userId')>0){ ?>
				<?php if(session('WST_USER.userType')==0){ ?>
				    <a href="<?php echo U('Home/Shops/toOpenShopByUser');?>" rel="nofollow">我要开店</a>
				<?php }else{ ?>
				    <?php if(session('WST_USER.loginTarget')==0){ ?>
				        <a href="<?php echo U('Home/Shops/index');?>" rel="nofollow">卖家中心</a>
				    <?php }else{ ?>
				        <a href="<?php echo U('Home/Users/index');?>" rel="nofollow">买家中心</a>
				    <?php } ?>
				<?php } ?>
			<?php }else{ ?>
			    <a href="<?php echo U('Home/GoodsCats/getCatList');?>" rel="nofollow">我要开店</a>
			<?php } ?>
			</li>
		</ul>
		<span class="clr"></span>
	</div>
</div>

          <div class='wst-user-top'>
			<div class="wst-user-top-main">
					<div class='wst-user-top-logo'>
						<a href="<?php echo WSTDomain();?>"  title='商城首页'>
						<img class='lazyImg' data-original="<?php echo WSTDomain();?>/<?php echo ($CONF['mallLogo']); ?>" style="max-width: 240px; height: 132px;"/>	
						</a>
					</div>
					<div class='wst-user-top-search'>
						<div class="search-box">
							<input id="wst-search-type" type="hidden" value="1"/>
							<input id="keyword" class="wst-search-ipt" me="q" tabindex="9" placeholder="搜索 商品" autocomplete="off" >
							<div id="btnsch" class="wst-search-btn">搜&nbsp;索</div>
						</div>
					</div>
					<div class="wst-clear"></div>
				</div>
			</div>
			<div class="wst-shop-nav">
				<div class="wst-nav-box">
					<li class="liselect" style="float:left;"><a href="<?php echo U('Home/Orders/queryByPage');?>">买家首页</a></li>
					<div class="wst-clear"></div>
				</div>
			</div>
          </div>
          <div class='wst-nav'></div>
          <div class='wst-main'>
            <div class='wst-menu'>
            	<div><span class='wst-menu-title' style='border-top:0px;'><span></span>交易信息</span></div>
            	<ul>
               		<li onclick="goBack(this)" data="<?php echo U('Home/Orders/queryPayByPage/');?>" <?php if($umark == "queryPayByPage"): ?>class='selected'<?php endif; ?>>待付款订单<span style="display:none;" class="wst-msg-tips-box"></span></li>
               		<li onclick="goBack(this)" data="<?php echo U('Home/Orders/queryDeliveryByPage/');?>" <?php if($umark == "queryDeliveryByPage"): ?>class='selected'<?php endif; ?>>待发货订单<span style="display:none;" class="wst-msg-tips-box"></span></li>
               		<li onclick="goBack(this)" data="<?php echo U('Home/Orders/queryReceiveByPage/');?>" <?php if($umark == "queryReceiveByPage"): ?>class='selected'<?php endif; ?>>待确认收货<span style="display:none;" class="wst-msg-tips-box"></span></li>
               		<li onclick="goBack(this)" data="<?php echo U('Home/Orders/queryAppraiseByPage/');?>" <?php if($umark == "queryAppraiseByPage"): ?>class='selected'<?php endif; ?>>待评价交易<span style="display:none;" class="wst-msg-tips-box"></span></li>
               		<li onclick="goBack(this)" data="<?php echo U('Home/Orders/queryCompleteOrders/');?>" <?php if($umark == "queryCompleteOrders"): ?>class='selected'<?php endif; ?>>已完成订单</a></li>
               		<li onclick="goBack(this)" data="<?php echo U('Home/Orders/queryCancelOrders/');?>" <?php if($umark == "queryCancelOrders"): ?>class='selected'<?php endif; ?>>已取消订单</a></li>
				</ul>
				<div><span class='wst-menu-title'><span></span>交易操作</span></div>
				<ul>
               		<li onclick="goBack(this)" data="<?php echo U('Home/Orders/queryRefundByPage/');?>" <?php if($umark == "queryRefundByPage"): ?>class='selected'<?php endif; ?>>拒收/退款</li>
	               	<li onclick="goBack(this)" data="<?php echo U('Home/OrderComplains/queryUserComplainByPage/');?>" <?php if($umark == "queryUserComplainByPage"): ?>class='selected'<?php endif; ?>>投诉订单</li>
	               	<li onclick="goBack(this)" data="<?php echo U('Home/GoodsAppraises/getAppraisesList/');?>" <?php if($umark == "getAppraisesList"): ?>class='selected'<?php endif; ?>>评价管理</li>
               	</ul>
               	
               	<?php if($GLOBALS['CONFIG']['isDistribut'] == 1): ?><div><span class='wst-menu-title'><span></span>分销管理</span></div>
               	<ul>
               		<li onclick="goBack(this)" data="<?php echo U('Home/Distributs/queryDistributUsers');?>" <?php if($umark == "queryDistributUsers"): ?>class='selected'<?php endif; ?>>我的推广用户</li>
	               	<li onclick="goBack(this)" data="<?php echo U('Home/Distributs/queryUserDistributMoneys');?>" <?php if($umark == "queryDistributMoneys"): ?>class='selected'<?php endif; ?>>我的分成</li>
               	</ul><?php endif; ?>
               	
               	<div><span class='wst-menu-title'><span></span>我的</span></div>
               	<ul>
	               	<li onclick="goBack(this)" data="<?php echo U('Home/UserAddress/queryByPage/');?>" <?php if($umark == "addressQueryByPage"): ?>class='selected'<?php endif; ?>>收货地址</li>
	               	<li onclick="goBack(this)" data="<?php echo U('Home/Users/toScoreList/');?>" <?php if($umark == "toScoreList"): ?>class='selected'<?php endif; ?>>积分记录</li>
	               	<li onclick="goBack(this)" data="<?php echo U('Home/LogMoneys/toUserMoneys/');?>" <?php if($umark == "toUserMoneys"): ?>class="selected"<?php endif; ?>>资金管理</li>
					<li onclick="goBack(this)" data="<?php echo U('Home/Favorites/queryByPage/');?>" <?php if($umark == "queryFavoritesByPage"): ?>class='selected'<?php endif; ?>>我的关注</li>
	               	<li onclick="goBack(this)" data="<?php echo U('Home/Messages/queryByPage/');?>" id='li_queryMessageByPage' <?php if($umark == "queryMessageByPage"): ?>class='liselect'<?php endif; ?>>商城消息<span style="display:none;" class="wst-msg-tips-box"></span></li>
	               	<li onclick="goBack(this)" data="<?php echo U('Home/Users/toEdit/');?>" <?php if($umark == "toEditUser"): ?>class='selected'<?php endif; ?>>个人资料</li>
	               	<li onclick="goBack(this)" data="<?php echo U('Home/Users/toEditPass/');?>" <?php if($umark == "toEditPass"): ?>class='selected'<?php endif; ?>>修改密码</li>
               	</ul>
             <?php if($WST_USER["userType"] == 0): ?><div class="wst-appsaler">
				<div>您目前不是卖家，您可以</div>
				<div><a href="<?php echo U('Home/Shops/toOpenShopByUser/');?>"><img class='lazyImg' data-original="/wstshop/Apps/Home/View/default/images/btn_setshop.png" height="38" width="134" /></a></div>
			 </div><?php endif; ?>
            </div>
            <div class='wst-content'>
            
<style>
.ATRoot{padding:0px 5px;height:22px;line-height:22px;clear:both;}
.ATNode{margin-right:5px;;line-height:22px;width:150px;float:left;}
label{cursor:pointer;}
.Hide{display:none;}
dl.areaSelect{display: inline-block; width:100%; margin-bottom: 0;/*border:1px solid #eee;*/}
dl.areaSelect:hover{border:1px solid #E5CD29;}
dl.areaSelect:hover dd{display: block;}
dl.areaSelect dd{margin-left:20px;width:100%;}
.layui-layer-btn a{background:#e23c3d;}
.abtn {
    background: #f4f4f4 none repeat scroll 0 0;
    border: 1px solid #dddddd;
    color: #333;
    display: inline-block;
    height: 30px;
    line-height: 30px;
    margin-top: 0;
    padding: 0;
    text-align: center;
    text-decoration: none;
    width: 106px;
}

</style>
<script src="/wstshop/Public/plugins/kindeditor/kindeditor.js"></script>
<script src="/wstshop/Public/plugins/kindeditor/lang/zh-CN.js"></script>
   <script>
   	var relateCommunity = "<?php echo ($object['relateCommunity']); ?>".split(',');
   	var relateArea = "<?php echo ($object['relateArea']); ?>".split(',');

   	$(function () {
   		
   		userShopInit();
   		getAreas("areaId2",'<?php echo ($object["areaId1"]); ?>',"<?php echo ($object['areaId2']); ?>","areaId2,areaId3",function(){
   			getCommunityForOpen();
 		    getAreas("areaId3",'<?php echo ($object["areaId2"]); ?>','<?php echo ($object["areaId3"]); ?>',"areaId3");
 	    });
   		$('#areaId1').change(function(){
   			getAreas("areaId2",$(this).val(),"","areaId2,areaId3");
   		});
   		$('#areaId2').change(function(){
   			getAreas("areaId3",$(this).val(),"","areaId3");
   			getCommunityForOpen();
   		});
   		$("input[name='isDistributAll']").click(function(){
 		   if($(this).val()==1){
 			   $("#delivery_tr").hide();
 		   }else{
 			   $("#delivery_tr").show();
 		   }
 	   });
    });

   </script>	
   <div class="wst-body"> 
       <div class='wst-page-header'>买家中心 > 我要开店</div>
       <div class='wst-page-content' style="position:relative;">
       <form name="myshop" method="post" id="myshop" autocomplete="off">
        <input type='hidden' id='id' value='<?php echo ($object["shopId"]); ?>'/>
        <table class="table table-hover table-striped table-bordered wst-form">
           <tr>
             <th width='130' align='right'>店铺名称<font color='red'>*</font>：</th>
             <td><input type='text' id='shopName' name='shopName' value='<?php echo ($object["shopName"]); ?>' class="wstipt" style='width:250px;' maxLength='25'/></td>
           </tr>
           <tr>
             <th width='120' align='right'>店主姓名<font color='red'>*</font>：</th>
             <td><input type='text' id='userName' class="wstipt" style='width:250px;' maxLength='25' value='<?php echo ($object["userName"]); ?>'/></td>
           </tr>
           <tr>
             <th width='120' align='right'>公司名称<font color='red'>*</font>：</th>
             <td><input type='text' id='shopCompany' class="wstipt"  style='width:250px;' maxLength='25' value='<?php echo ($object["shopCompany"]); ?>'/></td>
           </tr>
           <tr>
             <th width='120' align='right'>店铺图标<font color='red'>*</font>：</th>
             <td>
                <div>
             	    <div id="filePicker" style='margin-left:0px;float:left'>上传店铺图标</div>
             	    <div style='margin-left:5px;float:left'>图片大小:150 x 150 (px)，格式为 gif, jpg, jpeg, png</div>
             	</div>
             	<div style='clear:both;'>
             	<?php if($object['shopImg'] !='' ): ?><img height="100" id='preview' class='lazyImg' data-original='/wstshop/<?php echo ($object["shopImg"]); ?>'>
	            <?php else: ?>
                <img id='preview' src='' ref='' width='100' height='100' style='display:none'/><?php endif; ?>
                <input id="shopImg" name="shopImg" class="text wstipt" tabindex="3" autocomplete="off" style="" type="hidden" value="<?php echo ($object["shopImg"]); ?>"/>
                </div>
             </td>
           </tr>
           
           <tr>
             <th width='120' align='right'>店铺电话<font color='red'>*</font>：</th>
             <td><input type='text' id='shopTel' class="wstipt" maxLength='25' value='<?php echo ($object["shopTel"]); ?>'/></td>
           </tr>
           <tr>
             <th width='120' align='right'>QQ：</th>
             <td><input type='text' id='qqNo' class="wstipt" maxLength='25' value='<?php echo ($object["qqNo"]); ?>'/></td>
           </tr>
           <tr>
             <th width='120' align='right'>所属地区<font color='red'>*</font>：</th>
             <td>
             <select id='areaId1' class='wstipt'>
               <option value=''>请选择</option>
               <?php if(is_array($areaList)): $i = 0; $__LIST__ = $areaList;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><option value='<?php echo ($vo['areaId']); ?>' <?php if($object['areaId1'] == $vo['areaId'] ): ?>selected<?php endif; ?>><?php echo ($vo['areaName']); ?></option><?php endforeach; endif; else: echo "" ;endif; ?>
             </select>
             <select id='areaId2' class='wstipt'>
               <option value=''>请选择</option>
             </select>
             <select id='areaId3' class='wstipt'>
               <option value=''>请选择</option>
             </select>
             </td>
           </tr>
           <tr>
             <th width='120' align='right'>店铺地址<font color='red'>*</font>：</th>
             <td><input type='text' id='shopAddress' class="wstipt" style='width:350px;' maxLength='100' value='<?php echo ($object["shopAddress"]); ?>'/></td>
           </tr>
           <tr id='shopMap' style='display:none'>
             <td width='120'>&nbsp;</td>
             <td  width='860'>
             <div id="mapContainer" style='height:400px;width:90%;'>等待地图初始化...</div>
             <div style='display:none'>
	             <input type='hidden' id='latitude' name='latitude' class="wstipt" value="<?php echo ($object['latitude']); ?>"/>
	             <input type='hidden' id='longitude' name='longitude' class="wstipt" value="<?php echo ($object['longitude']); ?>"/>
	             <input type='hidden' id='mapLevel' name='mapLevel' class="wstipt" value="<?php echo ($object['mapLevel']); ?>"/>
             </div>
             <div style='color:red'>(注意：提交开店申请之后店铺地址将无法修改)</div>
             </td>
           </tr>
           <tr>
             <th align='right'>所属行业<font color='red'>*</font>：</th>
             <td>
             <select id='goodsCatId1' class='wstipt'>
                <option value=''>请选择</option>
                <?php if(is_array($goodsCatsList)): $i = 0; $__LIST__ = $goodsCatsList;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><option value='<?php echo ($vo['catId']); ?>' <?php if($object['goodsCatId1'] == $vo['catId'] ): ?>selected<?php endif; ?>><?php echo ($vo['catName']); ?></option><?php endforeach; endif; else: echo "" ;endif; ?>
             </select>
             </td>
           </tr>
           <tr>
             <th align='right'>营业状态<font color='red'>*</font>：</th>
             <td>
             <label>
             <input type='radio' id='shopAtive1' name='shopAtive' value='1' <?php if($object['shopAtive'] ==1 ): ?>checked<?php endif; ?> class='wstipt'/>营业中&nbsp;&nbsp;
             </label>
             <label>
             <input type='radio' id='shopAtive0' name='shopAtive' value='0' <?php if($object['shopAtive'] !=1 ): ?>checked<?php endif; ?> class='wstipt'/>休息中
             </label>
             </td>
           </tr>
           <tr>
             <th align='right'>配送范围<font color='red'>*</font>：</th>
             <td>
             <label>
             <input type='radio' name='isDistributAll' class='wstipt' value='0' <?php if($object['isDistributAll'] ==0 ): ?>checked<?php endif; ?> />区域配送&nbsp;&nbsp;
             </label>
             <label>
             <input type='radio' name='isDistributAll' class='wstipt' value='1' <?php if($object['isDistributAll'] ==1 ): ?>checked<?php endif; ?> />全国配送
             </label>
             </td>
           </tr>
           <tr id="delivery_tr" style="display: <?php echo ($object['isDistributAll'] ==1?'none':''); ?>">
             <th width='120' align='right'>配送区域<font color='red'>*</font>：</th>
             <td>
             <div class="text-gray Hide">展开全部：<input type="checkbox" id="expendAll" <?php if($WST_USER['isSelf'] == 1): ?>disabled<?php endif; ?>></div>
             <div id='areaTree'>
             </div>
             </td>
           </tr>
           <tr>
             <th width='120' align='right'>订单配送起步价<font color='red'>*</font>：</th>
             <td><input type="text" id="deliveryStartMoney" class="wstipt" value='<?php echo ($object["deliveryStartMoney"]); ?>' onkeypress="return WST.isNumberdoteKey(event)" onkeyup="javascript:WST.isChinese(this,1)" maxlength="8"></td>
           </tr>
           <tr>
             <th width='120' align='right'>包邮起步价<font color='red'>*</font>：</th>
             <td><input type='text' id='deliveryFreeMoney' class="wstipt" value='<?php echo ($object["deliveryFreeMoney"]); ?>' onkeypress="return WST.isNumberdoteKey(event)" onkeyup="javascript:WST.isChinese(this,1)" maxLength='8'/></td>
           </tr>
           <tr>
             <th width='120' align='right'>邮费<font color='red'>*</font>：</th>
             <td><input type='text' id='deliveryMoney' class="wstipt" value='<?php echo ($object["deliveryMoney"]); ?>' onkeypress="return WST.isNumberdoteKey(event)" onkeyup="javascript:WST.isChinese(this,1)" maxLength='8'/></td>
           </tr>
           <tr>
             <th width='120' align='right'>平均配送时间<font color='red'>*</font>：</th>
             <td><input type='text' id='deliveryCostTime' class="wstipt" value='<?php echo ($object["deliveryCostTime"]); ?>' onkeypress="return WST.isNumberKey(event)" onkeyup="javascript:WST.isChinese(this,1)" maxLength='8'/></td>
           </tr>
           <tr>
             <th width='120' align='right'>平均消费金额<font color='red'>*</font>：</th>
             <td><input type='text' id='avgeCostMoney' class="wstipt" value='<?php echo ($object["avgeCostMoney"]); ?>' onkeypress="return WST.isNumberdoteKey(event)" onkeyup="javascript:WST.isChinese(this,1)" maxLength='8'/></td>
           </tr>
           <tr>
             <th align='right'>能否开发票<font color='red'>*</font>：</th>
             <td>
             <label>
             <input type='radio' id='isInvoice1' class='wstipt' onclick="javascript:WST.showHide(1,'#invoiceRemarkstr')" name='isInvoice' value='1' <?php if($object['isInvoice'] ==1 ): ?>checked<?php endif; ?>/>能&nbsp;&nbsp;
             </label>
             <label>
             <input type='radio' id='isInvoice0' class='wstipt' onclick="javascript:WST.showHide(0,'#invoiceRemarkstr')" name='isInvoice' value='0' <?php if($object['isInvoice'] !=1 ): ?>checked<?php endif; ?>/>否
             </label>
             </td>
           </tr>
           <tr id='invoiceRemarkstr' <?php if($object['isInvoice'] ==0 ): ?>style='display:none'<?php endif; ?>>
             <th width='120' align='right'>发票说明：</th>
             <td><input type='text' id='invoiceRemarks' class="wstipt" value='<?php echo ($object["invoiceRemarks"]); ?>' style='width:350px;' maxLength='100'/></td>
           </tr>
           <tr>
             <th width='120' align='right'>转账银行<font color='red'>*</font>：</th>
             <td>
             <select id='bankId' class='wstipt'>
                <option value=''>请选择</option>
                <?php if(is_array($bankList)): $i = 0; $__LIST__ = $bankList;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><option <?php if($vo['bankId'] == $object['bankId']): ?>selected<?php endif; ?> value='<?php echo ($vo['bankId']); ?>'><?php echo ($vo['bankName']); ?></option><?php endforeach; endif; else: echo "" ;endif; ?>
             </select>
             </td>
           </tr>
           <tr>
             <th width='120' align='right'>银行卡卡号<font color='red'>*</font>：</th>
             <td><input type='text' id='bankNo' maxLength='25' class='wstipt' size='50' value='<?php echo ($object["bankNo"]); ?>'/></td>
           </tr>
           <tr>
             <th width='120' align='right'>银行卡所有人名称<font color='red'>*</font>：</th>
             <td><input type="text" class='text wstipt' id="bankUserName" maxlength="25" size="50" value='<?php echo ($object["bankUserName"]); ?>'></td>
           </tr>
           
           <tr>
             <th width='120' align='right'>营业时间<font color='red'>*</font>：</th>
             <td>
             <select id='serviceStartTime' class='wstipt'></select>
             至
             <select id='serviceEndTime' class='wstipt'></select>
             </td>
           </tr>
           <tr>
             <th align='right'>手机号<font color='red'>*</font>：</th>
             <td>
             <input id="userPhone" name="userPhone" class="wstipt" value="<?php echo ($object["userPhone"]); ?>" autocomplete="off" maxlength="11" type="text"/>
	         <label class="blank invisible"></label>
             </td>
           </tr>
           <?php if($CONF['phoneVerfy'] == 1): ?><tr>
             <th align='right'>验证码<font color='red'>*</font>：</th>
             <td>
             <input id="mobileCode" style="ime-mode:disabled" name="mobileCode" class="wstipt" tabindex="6" autocomplete="off" maxlength="6" type="text"/>
             <a class="abtn" href="javascript:void(0);" onclick="getVerifyCode();" id="sendMobileCode">
	             <span id="timeTips">获取短信验证码</span>
	         </a>
             </td>
           </tr>
           <?php else: ?>
           <tr>
             <th align='right'>验证码<font color='red'>*</font>：</th>
             <td>
             <input id="verify" style="ime-mode:disabled" name="verify" class="text text-1 wstipt" tabindex="6" autocomplete="off" maxlength="6" type="text"/>
	         <label class="img">
	            <img style='vertical-align:middle;cursor:pointer;height:30px;' class='verifyImg' title='刷新验证码' onclick='javascript:getVerify()'/> 
			 </label>      	
	         <label class="ftx23">&nbsp;看不清？<a href="javascript:getVerify()" class="flk13">换一张</a></label>
             </td>
           </tr><?php endif; ?>
           <tr>
             <th>&nbsp;</th>
             <td>
             <label>
	           <input class="checkbox" id="protocol" name="protocol" type="checkbox"/>
	                                 我已阅读并同意</label><a href="javascript:;" class="blue" id="protocolInfo" onclick="showXiey();">《店铺用户注册协议》</a>                       
	         <label id="protocol_error" class="error hide">请接受服务条款</label>
             </td>
           </tr>
           <tr>
             <td colspan='2' style='padding-left:320px;'>
                 <button class='wst-btn-query' type="submit">保&nbsp;存</button>
                 <button class='wst-btn-query' type="button" onclick='javascript:location.reload();'>重&nbsp;置</button>
             </td>
           </tr>
        </table>
       </form>
       </div>
   </div>
   <script src="/wstshop/Apps/Home/View/default/js/open_shop.js"></script>
   <script type="text/javascript" src="http://webapi.amap.com/maps?v=1.3&key=37f0869604ca86505487639427d52bf6"></script>

            </div>
          </div>
          <div style='clear:both;'></div>
          <br/>
           <div class='wst-footer'>
          	<div class="wst-footer-fl-box">
	<div class="wst-footer" >
		<div class="wst-footer-cld-box">
			<div class="wst-footer-fl">友情链接：</div>
			<div style="padding-left:36px;">
				<?php if(is_array($friendLikds)): $k = 0; $__LIST__ = $friendLikds;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($k % 2 );++$k;?><div style="float:left;"><a href="<?php echo ($vo["friendlinkUrl"]); ?>" target="_blank"><?php echo ($vo["friendlinkName"]); ?></a>&nbsp;&nbsp;</div><?php endforeach; endif; else: echo "" ;endif; ?>
				<div class="wst-clear"></div>
			</div>
		</div>
	</div>
</div>

<div class="wst-footer-hp-box">
	<div class="wst-footer">
		<div class="wst-footer-hp-ck1">
			<?php if(is_array($helps)): $k1 = 0; $__LIST__ = $helps;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo1): $mod = ($k1 % 2 );++$k1;?><div class="wst-footer-wz-ca">
				<div class="wst-footer-wz-pt">
					<span class="wst-footer-wz-pn"><?php echo ($vo1["catName"]); ?></span>
					<div>
						<?php if(is_array($vo1['articlecats'])): $k2 = 0; $__LIST__ = $vo1['articlecats'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo2): $mod = ($k2 % 2 );++$k2;?><a href="<?php echo U('Home/Articles/index/',array('articleId'=>$vo2['articleId']));?>"><?php echo ($vo2['articleTitle']); ?></a><br/><?php endforeach; endif; else: echo "" ;endif; ?>
					</div>
				</div>
			</div><?php endforeach; endif; else: echo "" ;endif; ?>
			
			<div class="wst-footer-wz-clt">
				<div style="padding-top:5px;line-height:25px;">
					<div>
						<?php if($CONF['phoneNo'] != ''): ?><img src="/wstshop/Apps/Home/View/default/images/phone_icon.png" width="25"/><span class="wst-phone">&nbsp;<?php echo ($CONF['phoneNo']); ?></span><br/><?php endif; ?>
						<img src="/wstshop/Apps/Home/View/default/images/wst_qr_code.jpg" width="120" />
						
					</div>
				</div>
			</div>
			<div class="wst-clear"></div>
		</div>
	    
		<div class="wst-footer-hp-ck2">
			<img src="/wstshop/Apps/Home/View/default/images/alipay.jpg" height="40" width="120"/>支付宝签约商家&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
			<span class="wst-footer-frd">正品保障</span><span >100%原产地</span>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
			<span class="wst-footer-frd">7天退货保障</span>购物无忧&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
			<span class="wst-footer-frd">免费配送</span>满98包邮&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
			<span class="wst-footer-frd">货到付款</span>400城市送货上门
		</div>
	    <div class="wst-footer-hp-ck3">
	        <div class="links"> 
	            <?php $_result=WSTNavigation(1);if(is_array($_result)): $i = 0; $__LIST__ = $_result;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><a rel="nofollow" <?php if($vo['isOpen'] == 1): ?>target="_blank"<?php endif; ?> href="<?php echo ($vo['navUrl']); ?>"><?php echo ($vo['navTitle']); ?></a>&nbsp;<?php if($vo['end'] == 0): ?>|&nbsp;<?php endif; endforeach; endif; else: echo "" ;endif; ?>
	        </div>
	        <div class="copyright">
	         <?php if($CONF['mallFooter']!=''){ echo htmlspecialchars_decode($CONF['mallFooter']); } ?>
	      	<?php if($CONF['visitStatistics']!=''){ echo htmlspecialchars_decode($CONF['visitStatistics'])."<br/>"; } ?>
	        <?php if($CONF['mallLicense'] ==''): ?><div>
				Copyright©2015 Powered By <a target="_blank" href="http://www.wstmall.net">WSTMall</a>
			</div>
			<?php else: ?>
				<div id="wst-mallLicense" data='1' style="display:none;">Copyright©2015 Powered By <a target="_blank" href="http://www.wstmall.net">WSTMall</a></div><?php endif; ?>
	        </div>
	    </div>
	</div>
</div>

          </div>
        </div>
    </body>
    <script src="/wstshop/Public/plugins/formValidator/formValidator-4.1.3.js"></script>
   	<script src="/wstshop/Public/js/common.js"></script>
   	<script src="/wstshop/Apps/Home/View/default/js/usercom.js"></script>
   	<script src="/wstshop/Apps/Home/View/default/js/head.js"></script>
   	<script src="/wstshop/Public/plugins/layer/layer.min.js"></script>
   	<script type="text/javascript" src="/wstshop/Public/plugins/webuploader/webuploader.js"></script>
  	<script src="/wstshop/Apps/Home/View/default/js/common.js"></script>
    <script type="text/javascript">
		var shopId = '<?php echo ($orderInfo["order"]["shopId"]); ?>';
		checkLogin();
		$(function() {
			getUserMsgTips();
			setInterval("getUserMsgTips()",30000);
		});
	</script>
</html>